package com.njtoyo.taxi.admin.rest.wrapper.business.operation_rule;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.mapper.master.enums.DriverRegionServiceArrangementCategory;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;
import java.util.Objects;

@Data
@ApiModel(value = "获取司机通知消息列表")
public class DriverServiceArrangementWrapper extends Page<DriverServiceArrangementWrapper> {
    public DriverServiceArrangementWrapper(Long current, Long size) {
        super(Objects.isNull(current) ? 1 : current, Objects.isNull(size) ? 15 : size);
    }

    private Long id;

    @ApiModelProperty(value = "司机运营区ID")
    private Long driverRegionId;
    
    private List<Long> driverRegionIds;
    
    private DriverRegionServiceArrangementCategory serviceCategory;
    
    @ApiModelProperty("是否启用")
    private Boolean isOpen;

    private Long regionId;

    private String ruleStr;
}
